﻿@model Webdiyer.WebControls.Mvc.PagedList<Citi.GocAttributes.WebUI.Models.ImportErrorModel>
<table class="table table-bordered table-striped tablesorter-blue">
    <thead>
        <tr>
            <th>
                Line
            </th>
            <th>
                Error
            </th>
            <th>
                Fields
            </th>
        </tr>
    </thead>
    <tbody>
        @foreach (var item in Model)
        {
            <tr>
                <td>
                    @Html.DisplayFor(modelItem => item.Line)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.Error)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.Fields)
                </td>
            </tr>
        }
    </tbody>
</table>
@Html.Partial("~/Views/PartialView/Pager.cshtml",
new Citi.GocAttributes.WebUI.Models.PagerModel { PagedList = Model, AjaxOptions = new AjaxOptions { UpdateTargetId = "importErrors" } })
